import Mock from 'mockjs';
const {newList,RoadList} = Mock.mock({
    newList:[
        {
            "account": "1581629201",
            "password": "123456",
        },
        {
            "account": "18451466076",
            "password": "123456"
        },
        {
            "account": "19980207",
            "password": "123456"
        }
    ],
    RoadList:[
        {
            "start": "鄞州二院",
            "first-station": "浙江万里学院",
            "second-station": "万达广场",
            "third-station": "宝龙广场",
            "end":"明州里"
        },
        {
            "start": "明州里",
            "first": "浙江万里学院",
            "second": "万达广场",
            "third": "宝龙广场",
            "end":"鄞州二院"
        },
        {
            "start": "万达广场",
            "first": "鄞州二院",
            "second": "万达广场",
            "third": "宝龙广场",
            "end":"浙江万里学院"
        }
    ]
})  
Mock.mock('/api/news','get',()=>
  {
    return{
        title:"调用list里边格式",
        status:"200",
        newList,
        RoadList
    }
  }
  
  );
